import request from '@/utils/request'

// 勘探点分配设备-已分配的设备列表
export function listProExplorationEquipment(query) {
  return request({
    url: '/supervise/proEquipmentApi/selectProEquipmentByExplorationId',
    method: 'post',
    params: query
  })
}

// 勘探点分配设备-已分配的设备-新增
export function addProExplorationEquipment(data) {
  return request({
    url: '/supervise/proEquipmentExplorationApi/batchAddProEquipmentExploration',
    method: 'post',
    data: data
  })
}

// 勘探点分配设备-已分配的设备-弹层设备列表 2021年7月6日17:08:21
export function selectProEquipmentNotPermissionList(params) {
  return request({
    url: '/supervise/proEquipmentApi/selectProEquipmentByProId',
    method: 'post',
    params
  })
}

// 勘探点分配设备-已分配的设备-移除绑定
export function removeProExplorationEquipment(params) {
  return request({
    url: '/supervise/proEquipmentExplorationApi/removeEquipmentExploration',
    method: 'post',
    params
  })
}
